package com.it.conformity;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Java
 */
@EntityScan(basePackages = {"com.it.conformity.testdemo.pojo"})
@MapperScan(basePackages = {"com.it.conformity.testdemo.dao"})
@ComponentScan(basePackages = {"com.it.conformity.testdemo.service",
        "com.it.conformity.testdemo.controller","com.it.conformity.common.interceptor"})
@SpringBootApplication//启动注解
public class ConformityApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConformityApplication.class, args);
    }

}
